package com.ztgf.user.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 用户角色关系表DTO
 *
 * @author zhanghualang
 * @Date 2020-05-28 17:48:24
 */
@Data
@TableName("user_role_relation")
@ApiModel(value="用户角色关系表对象", description="用户角色关系表对象")
public class UserRoleRelationDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "权限id")
    private Long roleId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
}